body{
    background-color: blanchedalmond;
}
.message-box{

}
.message-box .bg{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color:gray;
    opacity: 0.6;
}
.message-box .card{
    position: fixed;
    left:50%;
    top: 50%;
    transform:translate(-50%,-50%);
    min-width: 500px;
    min-height: 180px;
    background-color: white;
    border-radius:10px;
    padding: 10px;
}
.message-box .card header{
    min-height: 30px;
    display:flex;
    justify-content:space-between;
}

.message-box .card footer{
    position: fixed;
    bottom:0;
    min-height: 30px;
    left:0;
    right:0;
    display:flex;
    justify-content: flex-end; 
    padding:10px;
}